package com.dries.chat.enums;

import lombok.Getter;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2020/7/8 16:08
 */
@Getter
public enum MsgActionEnum {

    CONNECT(0, "第一次(或重连)初始化连接"),
    CHAT(1, "点对点聊天消息"),
    GROUP_CHAT(2, "群聊消息"),
    SIGNED(3, "消息签收"),
    KEEPALIVE(4, "客户端保持心跳"),
    SYSTEM(5, "系统消息");

    public final Integer type;
    public final String content;

    MsgActionEnum(Integer type, String content) {
        this.type = type;
        this.content = content;
    }

}
